package com.bawei.module_login.api

import com.bawei.lib_common.api.BaseApiServer
import com.bawei.lib_common.entriy.BaseResponse
import com.bawei.module_login.entriy.LoginEntriy
import retrofit2.http.POST
import retrofit2.http.Query

interface LoginApiServer:BaseApiServer {

    @POST("/user/login")
    suspend fun getLogin(@Query("username") name:String,@Query("password")word:String):BaseResponse<LoginEntriy>
}